package com.angel.mocks.dao.generic;

import javax.persistence.Entity;

import com.angel.architecture.persistence.base.PersistentObject;

@Entity
public class Person extends PersistentObject{

	private static final long serialVersionUID = -7602194329905028636L;
	private String name;
	private Integer age;

	public Person(){
		super();
	}

	public Person(String name, Integer age){
		this.name = name;
		this.age = age;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the age
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * @param age the age to set
	 */
	public void setAge(Integer age) {
		this.age = age;
	}
}
